<template>
	<div class="Avatar">
    <el-avatar :src="url">
      <el-avatar :icon="UserFilled"/>
    </el-avatar>
  </div>
</template>
<script setup name="EbAvatar">
import {UserFilled} from "@element-plus/icons-vue";
const props = defineProps({
  src: {
    type: String,
    default: undefined
  }
})
const url = computed({
  get(){
    if(props.src){
      return import.meta.env.VITE_APP_BASE_API + props.src
    }
  }
})
</script>
<style scoped lang="scss">
	.Avatar {
	}
</style>
